-- GENERATED SPELL FOR [Amani Axe Thrower] --


function spell0_15641(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15641', 500, 1)
end

function Sorts_15641(pUnit, Event)
local choix_sorts_15641 = math.random(0, 0)
if choix_sorts_15641 == 0 then
pUnit:RegisterEvent('spell0_15641', 1, 1)
end
end

function mob15641_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15641', math.random(1500, 3000), 1)
end

function mob15641_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15641_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15641_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15641, 1, 'mob15641_Action')
RegisterUnitEvent(15641, 2, 'mob15641_Leave')
RegisterUnitEvent(15641, 3, 'mob15641_Kill')
RegisterUnitEvent(15641, 4, 'mob15641_Die')
